
     random_int(min=0, max=9999)="$(rand(min : max))"

     

     random_digit()= "$(rand(0:9))"
       

     random_digit_not_null()= "$(rand(1:9))"
        

     random_digit_or_empty()= rand(0:1)==1? "$(rand(0:9))" : " "
       
     random_digit_not_null_or_empty()= rand(0:1)==1? "$(rand(1:9))" : " "
        

     random_number( digits= 1 ) = "$(rand(0 : (10^digits) - 1))"
       

     random_letter()= rand(0:1)>=0.5? "$(rand('a':'z'))" : "$(rand('A':'Z'))"
        
     random_element( elements=("a", "b", "b"))= elements[rand(1: length(elements))]
        
     function randomize_nb_elements( number=10, le=false, ge=false) 
                if le==true && ge==true
                    return "$(number)"
                end 
                if ge==true 
                    min = 100 
                else  
                    min=60 
                end 

                if le==true 
                    max = 100 
                else 
                    max=140 
                end

                 "$(((rand(min : max))number / 100) + 1 )"
            end

     function numerify( text = "####")
                    for i in text  
                    text= replace(text,"#","$(rand(0:9))",1) 
                    end 
                return text
                end

    
     lexify( text="????")= (for i=text  text= replace(text,"?","$(random_letter())",1) end ; return text)
       

     bothify( text="## ??")=lexify(numerify(text))